﻿using System.Windows.Controls;
using System.Windows.Media;
using System;

namespace RentsList
{
    /// <summary>
    /// Interaction logic for RentsListView.xaml
    /// </summary>
    public partial class RentsListView : UserControl, IRentsListView
    {
        public RentsListView()
        {
            InitializeComponent();
        }

        #region IRentsListView Members

        public IRentsListPresentationModel Model
        {
            get
            {
                return (IRentsListPresentationModel)this.DataContext;
            }
            set
            {
                this.DataContext = value;
            }
        }

        #endregion
    }
}
